import request from '@/utils/request'

// 查询慧光智慧显示屏列表
export function listHgdisplay(query) {
  return request({
    url: '/iot/hgdisplay/list',
    method: 'get',
    params: query
  })
}

// 查询慧光智慧显示屏详细
export function getHgdisplay(id) {
  return request({
    url: '/iot/hgdisplay/' + id,
    method: 'get'
  })
}

// 新增慧光智慧显示屏
export function addHgdisplay(data) {
  return request({
    url: '/iot/hgdisplay',
    method: 'post',
    data: data
  })
}

// 修改慧光智慧显示屏
export function updateHgdisplay(data) {
  return request({
    url: '/iot/hgdisplay',
    method: 'put',
    data: data
  })
}

// 删除慧光智慧显示屏
export function delHgdisplay(id) {
  return request({
    url: '/iot/hgdisplay/' + id,
    method: 'delete'
  })
}
